package com.mydemo.design_pattern.action_type.command_pattern.impl;

import com.mydemo.design_pattern.action_type.command_pattern.Command;

/**
 * <p></p >
 *
 * @author liming1
 * @version $Id: IdeaCmd, v1.0 2019-09-19 15:03 liming1 Exp $
 */
public class IdeaCmd implements Command {

    private String cmd;

    public IdeaCmd(String cmd) {
        this.cmd = cmd;
    }

    @Override
    public void execute() {
        System.out.println("idea start：" + cmd);
    }
}
